<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        //$stu[]="张三";
        //$stu[]="男";
        //echo $stu[0];
        
        $arr=array("苹果","香蕉","柚子","芒果","梨");
        //echo $arr[2];
        //关联数组
        $info=array("id"=>1,"nane"=>"张三","najor"=>"计算机应用技术");
        echo $info["najor"];         
        
        ?>
    </body>
</html>
